package com.bootcamp.mall.model.vo.admin;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

/**
 * @program: mall
 * @description: store information return to browser
 * @author: Keyu Li
 * @create: 2021-11-09 10:33
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminLoginInfoVO {
    Integer adminId;
    String token;
    String name;

    public void setNickname(String name) {
        this.token = name;
        this.name = name;
    }
}
